package com.zdkj.subway.stm.annotation;

import com.baomidou.mybatisplus.core.toolkit.StringUtils;

/**
 * @author cooze
 * @version 1.0.0 创建于 2020/10/18
 **/
public class BaseController {

    public String toStartTime(String startDate) {
        return StringUtils.isEmpty(startDate) ? null : startDate + " 00:00:00";
    }

    public String toEndTime(String endDate) {
        return StringUtils.isEmpty(endDate) ? null : endDate + " 23:59:59";
    }
}
